package OOP.Homeworks.Homework04;

public class ordinaryEmployee extends Employee{
    public ordinaryEmployee(String name, double salary, int day) {
        super(name, salary, day);
    }

    @Override
    public void printMessage(){
        System.out.println("ordinary employee Name: "+ getName()+ " money: " + getSalary()*getDay() + " Day: " + getDay());
    }
}
